﻿namespace HRM.CORE.Workdesk
{
    using DevExpress.Utils;
    using DevExpress.XtraEditors;
    using DevExpress.XtraEditors.Controls;
    using DevExpress.XtraLayout;
    using DevExpress.XtraLayout.Utils;
    using DevExpress.XtraNavBar;
    using APP.HELPER;

    using HRM.CORE;
    using Extra;
    using HRM.CORE.Workdesk.Chart;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms; using Common;
    using Common;
    using APP.HELPER.Data.Helper;

    public class xucBottomDesk : Common.xucBase
    {
        private IContainer components = null;
        private DevExpress.Utils.ImageCollection imgClassic;
        private LayoutControl layoutControl1;
        private LayoutControlGroup layoutControlGroup1;
        private LayoutControlGroup layoutControlGroup2;
        private LayoutControlItem layoutControlItem1;
        private LayoutControlItem layoutControlItem2;
        private LayoutControlItem layoutControlItem3;
        private LayoutControlItem layoutControlItem4;
        private LayoutControlGroup lcGroupBirthday;
        private LayoutControlGroup lcGroupContract;
        private LayoutControlGroup lcGroupMessage;
        private LayoutControlGroup lcGroupTest;
        private NavBarGroup navBarGroup2;
        private PanelControl pnBirthday;
        private PanelControl pnContract;
        private PanelControl pnLeft;
        private PanelControl pnTest;
        private HRM.CORE.Workdesk.Chart.xucChartSalary xucChartSalary;

        public xucBottomDesk()
        {
            this.InitializeComponent();
            this.Init();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void Init()
        {
            LabelControl control;
            LayoutControlItem item;
            this.xucChartSalary = new HRM.CORE.Workdesk.Chart.xucChartSalary();
            this.xucChartSalary.Dock = DockStyle.Fill;
            this.pnLeft.Controls.Add(this.xucChartSalary);
            xucBirthday birthday = new xucBirthday {
                Dock = DockStyle.Fill
            };
            this.pnBirthday.Controls.Add(birthday);
            xucContractDesk desk = new xucContractDesk {
                Dock = DockStyle.Fill
            };
            this.pnContract.Controls.Add(desk);
            xucTest test = new xucTest {
                Dock = DockStyle.Fill
            };
            this.pnTest.Controls.Add(test);
            bool flag = false;
            int num = 0;
            SqlHelper helper = new SqlHelper();
            helper.Extract();
            if (helper.Database == "HRMExample")
            {
                num++;
                control = new LabelControl {
                    AutoSizeMode = LabelAutoSizeMode.Vertical
                };
                control.Appearance.TextOptions.WordWrap = WordWrap.Wrap;
                control.AllowHtmlString = true;
                control.Text = "<color=blue>(" + num.ToString() + ")</color> Bạn đang sử dụng dữ liệu tham khảo của chương tr\x00ecnh, kh\x00f4ng phải l\x00e0 dữ liệu thật.";
                this.layoutControl1.Controls.Add(control);
                control.StyleController = this.layoutControl1;
                item = new LayoutControlItem {
                    TextVisible = false,
                    Control = control
                };
                this.lcGroupMessage.AddItem(item);
                flag = true;
            }
            HRM_EMPLOYEE hrm_employee = new HRM_EMPLOYEE();
            if (hrm_employee.GetAllList(0, "").Rows.Count < 10)
            {
                num++;
                control = new LabelControl {
                    AutoSizeMode = LabelAutoSizeMode.Vertical
                };
                control.Appearance.TextOptions.WordWrap = WordWrap.Wrap;
                control.AllowHtmlString = true;
                control.Text = "<color=blue>(" + num.ToString() + ")</color> H\x00e3y nhập th\x00eam nh\x00e2n vi\x00ean v\x00e0o danh s\x00e1ch quản l\x00fd của bạn.";
                this.layoutControl1.Controls.Add(control);
                control.StyleController = this.layoutControl1;
                item = new LayoutControlItem {
                    TextVisible = false,
                    Control = control
                };
                this.lcGroupMessage.AddItem(item);
                flag = true;
            }
            HRM_TIMEKEEPER_TABLELIST hrm_timekeeper_tablelist = new HRM_TIMEKEEPER_TABLELIST();
            if (!hrm_timekeeper_tablelist.Exist(DateTime.Now.Month, DateTime.Now.Year))
            {
                num++;
                control = new LabelControl {
                    AutoSizeMode = LabelAutoSizeMode.Vertical
                };
                control.Appearance.TextOptions.WordWrap = WordWrap.Wrap;
                control.AllowHtmlString = true;
                control.Text = "<color=blue>(" + num.ToString() + ")</color> Vui l\x00f2ng tạo bảng xếp ca v\x00e0 bảng chấm c\x00f4ng của th\x00e1ng n\x00e0y.";
                this.layoutControl1.Controls.Add(control);
                control.StyleController = this.layoutControl1;
                item = new LayoutControlItem {
                    TextVisible = false,
                    Control = control
                };
                this.lcGroupMessage.AddItem(item);
                flag = true;
            }
            HRM_SALARY_TABLELIST hrm_salary_tablelist = new HRM_SALARY_TABLELIST();
            if (!hrm_salary_tablelist.Exist(DateTime.Now.Month, DateTime.Now.Year))
            {
                num++;
                control = new LabelControl {
                    AutoSizeMode = LabelAutoSizeMode.Vertical
                };
                control.Appearance.TextOptions.WordWrap = WordWrap.Wrap;
                control.AllowHtmlString = true;
                control.Text = "<color=blue>(" + num.ToString() + ")</color> Bảng lương th\x00e1ng n\x00e0y chưa được khởi tạo.";
                this.layoutControl1.Controls.Add(control);
                control.StyleController = this.layoutControl1;
                item = new LayoutControlItem {
                    TextVisible = false,
                    Control = control
                };
                this.lcGroupMessage.AddItem(item);
                flag = true;
            }
            if (!flag)
            {
                control = new LabelControl {
                    AutoSizeMode = LabelAutoSizeMode.Vertical
                };
                control.Appearance.TextOptions.WordWrap = WordWrap.Wrap;
                control.AllowHtmlString = true;
                control.Text = "<color=blue>(0)</color> Hiện tại chương tr\x00ecnh kh\x00f4ng c\x00f3 th\x00f4ng b\x00e1o n\x00e0o!";
                this.layoutControl1.Controls.Add(control);
                control.StyleController = this.layoutControl1;
                item = new LayoutControlItem {
                    TextVisible = false,
                    Control = control
                };
                this.lcGroupMessage.AddItem(item);
            }
            if ((num > 0) && flag)
            {
                this.lcGroupMessage.Text = "(" + num.ToString() + ") Th\x00f4ng B\x00e1o - Nhắc Việc";
                this.lcGroupMessage.AppearanceGroup.ForeColor = Color.Red;
            }
            this.lcGroupBirthday.Text = "(" + hrm_employee.GetListBirthday(MyLogin.Level, MyLogin.Code).Rows.Count.ToString() + ") Nh\x00e2n Vi\x00ean Sắp Đến Sinh Nhật";
            this.lcGroupContract.Text = "(" + hrm_employee.GetListContractJustExpiration(MyLogin.Level, MyLogin.Code).Rows.Count.ToString() + ") Nh\x00e2n Vi\x00ean Đ\x00e3/Sắp Hết Hạn HĐLĐ";
            this.lcGroupTest.Text = "(" + hrm_employee.GetListTestJustExpiration(MyLogin.Level, MyLogin.Code).Rows.Count.ToString() + ") Nh\x00e2n Vi\x00ean Đ\x00e3/Sắp Hết Hạn Thử Việc";
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xucBottomDesk));
            this.navBarGroup2 = new NavBarGroup();
            this.imgClassic = new DevExpress.Utils.ImageCollection(this.components);
            this.layoutControl1 = new LayoutControl();
            this.pnTest = new PanelControl();
            this.pnContract = new PanelControl();
            this.pnLeft = new PanelControl();
            this.pnBirthday = new PanelControl();
            this.layoutControlGroup1 = new LayoutControlGroup();
            this.layoutControlGroup2 = new LayoutControlGroup();
            this.layoutControlItem1 = new LayoutControlItem();
            this.lcGroupMessage = new LayoutControlGroup();
            this.lcGroupContract = new LayoutControlGroup();
            this.layoutControlItem3 = new LayoutControlItem();
            this.lcGroupBirthday = new LayoutControlGroup();
            this.layoutControlItem2 = new LayoutControlItem();
            this.lcGroupTest = new LayoutControlGroup();
            this.layoutControlItem4 = new LayoutControlItem();
            this.imgClassic.BeginInit();
            this.layoutControl1.BeginInit();
            this.layoutControl1.SuspendLayout();
            this.pnTest.BeginInit();
            this.pnContract.BeginInit();
            this.pnLeft.BeginInit();
            this.pnBirthday.BeginInit();
            this.layoutControlGroup1.BeginInit();
            this.layoutControlGroup2.BeginInit();
            this.layoutControlItem1.BeginInit();
            this.lcGroupMessage.BeginInit();
            this.lcGroupContract.BeginInit();
            this.layoutControlItem3.BeginInit();
            this.lcGroupBirthday.BeginInit();
            this.layoutControlItem2.BeginInit();
            this.lcGroupTest.BeginInit();
            this.layoutControlItem4.BeginInit();
            base.SuspendLayout();
            this.navBarGroup2.Caption = "Danh Mục Chấm C\x00f4ng";
            this.navBarGroup2.Expanded = true;
            this.navBarGroup2.GroupClientHeight = 80;
            this.navBarGroup2.GroupStyle = NavBarGroupStyle.ControlContainer;
            this.navBarGroup2.LargeImageIndex = 0x12;
            this.navBarGroup2.Name = "navBarGroup2";
            this.navBarGroup2.SmallImageIndex = 0x12;
            this.imgClassic.ImageSize = new Size(0x20, 0x20);
            this.imgClassic.ImageStream = (ImageCollectionStreamer) manager.GetObject("imgClassic.ImageStream");
            this.imgClassic.Images.SetKeyName(0, "bbiClose.png");
            this.imgClassic.Images.SetKeyName(1, "bbiLogout.png");
            this.imgClassic.Images.SetKeyName(2, "bbiOption.png");
            this.imgClassic.Images.SetKeyName(3, "bbiUser.png");
            this.imgClassic.Images.SetKeyName(4, "bbiPermission.png");
            this.imgClassic.Images.SetKeyName(5, "bbiChangePassword.png");
            this.imgClassic.Images.SetKeyName(6, "bbiSyslog.png");
            this.imgClassic.Images.SetKeyName(7, "bbiBackup.png");
            this.imgClassic.Images.SetKeyName(8, "bbiRestore.png");
            this.imgClassic.Images.SetKeyName(9, "bbiFix.png");
            this.imgClassic.Images.SetKeyName(10, "bbiWorkdesk.png");
            this.imgClassic.Images.SetKeyName(11, "bbiTotalUp.png");
            this.imgClassic.Images.SetKeyName(12, "bbiDictionary.png");
            this.imgClassic.Images.SetKeyName(13, "bbiCandidate.png");
            this.imgClassic.Images.SetKeyName(14, "bbiEmployee.png");
            this.imgClassic.Images.SetKeyName(15, "bbiWork.png");
            this.imgClassic.Images.SetKeyName(0x10, "bbiContract.png");
            this.imgClassic.Images.SetKeyName(0x11, "bbiProgress.png");
            this.imgClassic.Images.SetKeyName(0x12, "bbiPolicy.png");
            this.imgClassic.Images.SetKeyName(0x13, "bbiDecide.png");
            this.imgClassic.Images.SetKeyName(20, "bbiShiftOrder.png");
            this.imgClassic.Images.SetKeyName(0x15, "bbiTimekeeping.png");
            this.imgClassic.Images.SetKeyName(0x16, "bbiTimekeeperTable.png");
            this.imgClassic.Images.SetKeyName(0x17, "bbiTimekeeperTableOvertime.png");
            this.imgClassic.Images.SetKeyName(0x18, "bbiMinimumSalary.png");
            this.imgClassic.Images.SetKeyName(0x19, "bbiFormula.png");
            this.imgClassic.Images.SetKeyName(0x1a, "bbiSalary.png");
            this.imgClassic.Images.SetKeyName(0x1b, "bbiHelp.png");
            this.imgClassic.Images.SetKeyName(0x1c, "bbiHelp2.png");
            this.imgClassic.Images.SetKeyName(0x1d, "bbiContact.png");
            this.imgClassic.Images.SetKeyName(30, "bbiWebsite.png");
            this.imgClassic.Images.SetKeyName(0x1f, "bbiRegister.png");
            this.imgClassic.Images.SetKeyName(0x20, "bbiUpdate.png");
            this.imgClassic.Images.SetKeyName(0x21, "bbiInformation.png");
            this.layoutControl1.Controls.Add(this.pnTest);
            this.layoutControl1.Controls.Add(this.pnContract);
            this.layoutControl1.Controls.Add(this.pnLeft);
            this.layoutControl1.Controls.Add(this.pnBirthday);
            this.layoutControl1.Dock = DockStyle.Fill;
            this.layoutControl1.Location = new Point(0, 0);
            this.layoutControl1.Name = "layoutControl1";
            this.layoutControl1.Root = this.layoutControlGroup1;
            this.layoutControl1.Size = new Size(0x395, 0x251);
            this.layoutControl1.TabIndex = 0;
            this.layoutControl1.Text = "layoutControl1";
            this.pnTest.BorderStyle = BorderStyles.NoBorder;
            this.pnTest.Location = new Point(0x2a9, 0x238);
            this.pnTest.Name = "pnTest";
            this.pnTest.Size = new Size(0xea, 20);
            this.pnTest.TabIndex = 8;
            this.pnContract.BorderStyle = BorderStyles.NoBorder;
            this.pnContract.Location = new Point(0x2a9, 0x21d);
            this.pnContract.Name = "pnContract";
            this.pnContract.Size = new Size(0xe4, 0xa5);
            this.pnContract.TabIndex = 7;
            this.pnLeft.BorderStyle = BorderStyles.NoBorder;
            this.pnLeft.Location = new Point(2, 0x16);
            this.pnLeft.Name = "pnLeft";
            this.pnLeft.Size = new Size(0x2a1, 0x239);
            this.pnLeft.TabIndex = 6;
            this.pnLeft.Paint += new PaintEventHandler(this.pnLeft_Paint);
            this.pnBirthday.BorderStyle = BorderStyles.NoBorder;
            this.pnBirthday.Location = new Point(0x2a9, 0x4d);
            this.pnBirthday.MinimumSize = new Size(0xea, 0);
            this.pnBirthday.Name = "pnBirthday";
            this.pnBirthday.Size = new Size(0xea, 460);
            this.pnBirthday.TabIndex = 5;
            this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
            this.layoutControlGroup1.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup1.GroupBordersVisible = false;
            this.layoutControlGroup1.Items.AddRange(new BaseLayoutItem[] { this.layoutControlGroup2, this.lcGroupMessage, this.lcGroupContract, this.lcGroupBirthday, this.lcGroupTest });
            this.layoutControlGroup1.Location = new Point(0, 0);
            this.layoutControlGroup1.Name = "Root";
            this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup1.Size = new Size(0x395, 0x251);
            this.layoutControlGroup1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup1.Text = "Root";
            this.layoutControlGroup1.TextVisible = false;
            this.layoutControlGroup2.CustomizationFormText = "Biểu Đồ Thống K\x00ea Chi Ph\x00ed Trả Lương";
            this.layoutControlGroup2.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem1 });
            this.layoutControlGroup2.Location = new Point(0, 0);
            this.layoutControlGroup2.Name = "layoutControlGroup2";
            this.layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(-1, -1, -1, -1);
            this.layoutControlGroup2.Size = new Size(0x2a7, 0x251);
            this.layoutControlGroup2.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0);
            this.layoutControlGroup2.Text = "Biểu Đồ Thống K\x00ea Chi Trả Lương";
            this.layoutControlItem1.Control = this.pnLeft;
            this.layoutControlItem1.CustomizationFormText = "layoutControlItem1";
            this.layoutControlItem1.Location = new Point(0, 0);
            this.layoutControlItem1.Name = "layoutControlItem1";
            this.layoutControlItem1.Size = new Size(0x2a5, 0x23d);
            this.layoutControlItem1.Text = "layoutControlItem1";
            this.layoutControlItem1.TextSize = new Size(0, 0);
            this.layoutControlItem1.TextToControlDistance = 0;
            this.layoutControlItem1.TextVisible = false;
            this.lcGroupMessage.CustomizationFormText = "Th\x00f4ng B\x00e1o - Nhắc Việc";
            this.lcGroupMessage.ExpandButtonVisible = true;
            this.lcGroupMessage.Location = new Point(0x2a7, 0);
            this.lcGroupMessage.Name = "lcGroupMessage";
            this.lcGroupMessage.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 0, 0, 0);
            this.lcGroupMessage.Size = new Size(0xee, 0x35);
            this.lcGroupMessage.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.lcGroupMessage.Text = "Th\x00f4ng B\x00e1o - Nhắc Việc";
            this.lcGroupContract.CustomizationFormText = "Nh\x00e2n Vi\x00ean Đ\x00e3/Sắp Hết Hạn HĐLĐ";
            this.lcGroupContract.Expanded = false;
            this.lcGroupContract.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem3 });
            this.lcGroupContract.Location = new Point(0x2a7, 0x21b);
            this.lcGroupContract.Name = "lcGroupContract";
            this.lcGroupContract.Padding = new DevExpress.XtraLayout.Utils.Padding(-1, -1, -1, -1);
            this.lcGroupContract.Size = new Size(0xee, 0x1b);
            this.lcGroupContract.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 0);
            this.lcGroupContract.Text = "Nh\x00e2n Vi\x00ean Đ\x00e3/Sắp Hết Hạn HĐLĐ";
            this.lcGroupContract.Click += new EventHandler(this.lcGroupContract_Click);
            this.layoutControlItem3.Control = this.pnContract;
            this.layoutControlItem3.CustomizationFormText = "layoutControlItem3";
            this.layoutControlItem3.Location = new Point(0, 0);
            this.layoutControlItem3.Name = "layoutControlItem3";
            this.layoutControlItem3.Size = new Size(0xe8, 0xa9);
            this.layoutControlItem3.Text = "layoutControlItem3";
            this.layoutControlItem3.TextSize = new Size(0, 0);
            this.layoutControlItem3.TextToControlDistance = 0;
            this.layoutControlItem3.TextVisible = false;
            this.lcGroupBirthday.CustomizationFormText = "Nh\x00e2n Vi\x00ean Sắp Đến Sinh Nhật";
            this.lcGroupBirthday.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem2 });
            this.lcGroupBirthday.Location = new Point(0x2a7, 0x35);
            this.lcGroupBirthday.Name = "lcGroupBirthday";
            this.lcGroupBirthday.Padding = new DevExpress.XtraLayout.Utils.Padding(-1, -1, -1, -1);
            this.lcGroupBirthday.Size = new Size(0xee, 0x1e6);
            this.lcGroupBirthday.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 0);
            this.lcGroupBirthday.Text = "Nh\x00e2n Vi\x00ean Sắp Đến Sinh Nhật";
            this.lcGroupBirthday.Click += new EventHandler(this.lcGroupBirthday_Click);
            this.layoutControlItem2.Control = this.pnBirthday;
            this.layoutControlItem2.CustomizationFormText = "layoutControlItem2";
            this.layoutControlItem2.Location = new Point(0, 0);
            this.layoutControlItem2.Name = "layoutControlItem2";
            this.layoutControlItem2.Size = new Size(0xee, 0x1d0);
            this.layoutControlItem2.Text = "layoutControlItem2";
            this.layoutControlItem2.TextSize = new Size(0, 0);
            this.layoutControlItem2.TextToControlDistance = 0;
            this.layoutControlItem2.TextVisible = false;
            this.lcGroupTest.CustomizationFormText = "Nh\x00e2n Vi\x00ean Đ\x00e3/Sắp Hết Hạn Thử Việc";
            this.lcGroupTest.Expanded = false;
            this.lcGroupTest.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem4 });
            this.lcGroupTest.Location = new Point(0x2a7, 0x236);
            this.lcGroupTest.Name = "lcGroupTest";
            this.lcGroupTest.Padding = new DevExpress.XtraLayout.Utils.Padding(-1, -1, -1, -1);
            this.lcGroupTest.Size = new Size(0xee, 0x1b);
            this.lcGroupTest.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 0);
            this.lcGroupTest.Text = "Nh\x00e2n Vi\x00ean Đ\x00e3/Sắp Hết Hạn Thử Việc";
            this.lcGroupTest.Click += new EventHandler(this.lcGroupTest_Click);
            this.layoutControlItem4.Control = this.pnTest;
            this.layoutControlItem4.CustomizationFormText = "layoutControlItem4";
            this.layoutControlItem4.Location = new Point(0, 0);
            this.layoutControlItem4.Name = "layoutControlItem4";
            this.layoutControlItem4.Size = new Size(0xee, 0x18);
            this.layoutControlItem4.Text = "layoutControlItem4";
            this.layoutControlItem4.TextSize = new Size(0, 0);
            this.layoutControlItem4.TextToControlDistance = 0;
            this.layoutControlItem4.TextVisible = false;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
//            base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.layoutControl1);
            base.Name = "xucBottomDesk";
            base.Size = new Size(0x395, 0x251);
            this.imgClassic.EndInit();
            this.layoutControl1.EndInit();
            this.layoutControl1.ResumeLayout(false);
            this.pnTest.EndInit();
            this.pnContract.EndInit();
            this.pnLeft.EndInit();
            this.pnBirthday.EndInit();
            this.layoutControlGroup1.EndInit();
            this.layoutControlGroup2.EndInit();
            this.layoutControlItem1.EndInit();
            this.lcGroupMessage.EndInit();
            this.lcGroupContract.EndInit();
            this.layoutControlItem3.EndInit();
            this.lcGroupBirthday.EndInit();
            this.layoutControlItem2.EndInit();
            this.lcGroupTest.EndInit();
            this.layoutControlItem4.EndInit();
            base.ResumeLayout(false);
        }

        private void lcGroupBirthday_Click(object sender, EventArgs e)
        {
            if (!this.lcGroupBirthday.Expanded)
            {
                this.lcGroupBirthday.Expanded = true;
                this.lcGroupContract.Expanded = false;
                this.lcGroupTest.Expanded = false;
            }
        }

        private void lcGroupContract_Click(object sender, EventArgs e)
        {
            if (!this.lcGroupContract.Expanded)
            {
                this.lcGroupBirthday.Expanded = false;
                this.lcGroupContract.Expanded = true;
                this.lcGroupTest.Expanded = false;
            }
        }

        private void lcGroupTest_Click(object sender, EventArgs e)
        {
            if (!this.lcGroupTest.Expanded)
            {
                this.lcGroupBirthday.Expanded = false;
                this.lcGroupContract.Expanded = false;
                this.lcGroupTest.Expanded = true;
            }
        }

        public void LoadChartSalary()
        {
            if (this.xucChartSalary != null)
            {
                this.xucChartSalary.LoadChartSalary();
            }
        }

        private void panelControl1_Paint(object sender, PaintEventArgs e)
        {
        }

        private void pnLeft_Paint(object sender, PaintEventArgs e)
        {
        }
    }
}

